package cn.yunhe.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component

public class MainFrame{
    @Value("高端机型")
    private String mainType;

    public void showMainFrame(){
        System.out.println("主机的类型是："+mainType);
    }

    public String getMainType() {
        return mainType;
    }

    public void setMainType(String mainType) {
        this.mainType = mainType;
    }
}
